package com.example.warehouse.bus.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 新增进货的客户端参数类
 *
 * @author XXH
 */
@Data
public class BusInportAddNewParam implements Serializable {

    /*数据id自动生成*/

    @NotNull(message = "请输入支付类型")
    @ApiModelProperty(value = "支付类型", required = true)
    private String payType;                   // 支付类型

//    @NotNull(message = "请输入操作员")
//    @ApiModelProperty(value = "操作员", required = true)
//    private String operatePerson;             // 操作员

    @NotNull(message = "请输入进货数量")
    @ApiModelProperty(value = "进货数量", required = true)
    private Integer number;                  // 进货数量

    @NotNull(message = "请输入备注")
    @ApiModelProperty(value = "备注", required = true)
    private String description;               // 备注

    @NotNull(message = "请输入进货价格")
    @ApiModelProperty(value = "进货价格", required = true)
    private Double inportPrice;               // 进货价格

    @NotNull(message = "请输入供应商ID")
    @ApiModelProperty(value = "供应商ID", required = true)
    private Integer providerId;               // 供应商ID


    @NotNull(message = "请输入商品ID")
    @ApiModelProperty(value = "商品ID", required = true)
    private Integer goodsId;                  // 商品ID

}
